<?php if (!defined('THINK_PATH')) exit();?><div class="yuList" style="display: block;">
    <table class="table table-bordered">
        <thead>
            <tr>
                <th>车辆编号</th>
                <?php if($status == 3): ?><th>订单编号</th><?php endif; ?>
                <th>车型</th>
                <th>所在地</th>
                <th>车牌号</th>
                <th>车主姓名</th>
                <th>车主电话</th>
                <?php if($status == 0): ?><th>提交时间</th><?php endif; ?>
                <?php if($status == 2): ?><th>退车时间</th><?php endif; ?>
                <?php if($status == 3): ?><th>成交时间</th><?php endif; ?>
                <?php if($status == 3): ?><th>订单状态</th><?php endif; ?>
                <?php if($status == 0): ?><th width="7%">付款状态</th><?php endif; ?>
                <th>操作</th>
            </tr>
        </thead>
        <tbody>    
        <?php if(is_array($list)): $k = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($k % 2 );++$k;?><tr>
                <td class="mcenter"><?php echo ($vo["sno"]); ?></td>
                <?php if($status == 3): ?><td class="mcenter"><?php echo ($vo['d_order_info']['order_no']); ?></td><?php endif; ?>
                <td><a href="/Car/report/car_id/<?php echo ($vo["car_id"]); ?>" target="_blank"><?php echo ($vo["car_model"]); ?></a></td>
                <td class="mcenter"><?php echo ($vo["location_area"]); ?></td>
                <td class="mcenter"><?php echo ($vo["plate_number"]); ?></td>
                <td class="mcenter"><?php echo ($vo["seller_name"]); ?></td>
                <td class="mcenter"><?php echo ($vo["phone"]); ?></td>
                <?php if($status == 0): ?><td class="mcenter"><?php echo ($vo["create_time"]); ?></td><?php endif; ?>
                <?php if($status == 2): ?><td class="mcenter"><?php echo ($vo["deal_time"]); ?></td><?php endif; ?>
                <?php if($status == 3): ?><td class="mcenter"><?php echo ($vo["deal_time"]); ?></td><?php endif; ?>
                <?php if($status == 3): ?><td class="mcenter"><?php echo ($vo['d_order_info']['status_name']); ?></td><?php endif; ?>
                <?php if($status == 0): ?><td class="mcenter">
                    <?php echo ($vo["pay_status"]); ?>
                   <!-- <?php if($vo["pay_status_code"] == 2): endif; ?>
                        <?php if($vo["pay_status_type"] == 21): ?>(100%)
                         <?php elseif($vo["pay_status_type"] == 22): ?>
                            (50%)
                         <?php elseif($vo["pay_status_type"] == 23): ?>
                            (0%)<?php endif; ?>-->
                </td><?php endif; ?>
                <td class="mcenter">
                    <?php if($vo["status"] > 0): ?><a href="/BreachCar/breach_car_info/car_id/<?php echo ($vo["car_id"]); ?>/bc_id/<?php echo ($vo["bc_id"]); ?>" target="_blank">查看</a>
                        <?php else: ?>
                        <a href="/BreachCar/breach_car_info/car_id/<?php echo ($vo["car_id"]); ?>/bc_id/<?php echo ($vo["bc_id"]); ?>">处理</a><?php endif; ?>
                </td>
            </tr><?php endforeach; endif; else: echo "" ;endif; ?>
        </tbody>
    </table>
    <div class="pageFaye"><div class="pager"><?php echo ($page); ?></div><div class="clear"></div></div>
</div>
<script>
    $("#start_time").ymdateplugin({
        changeMonth: true,
        changeYear: true
    });

    $("#end_time").ymdateplugin({
        changeMonth: true,
        changeYear: true
    });
</script>